home *** CD-ROM | disk | FTP | other *** search
/ The Atari Compendium / The Atari Compendium (Toad Computers) (1994).iso / files / prgtools / mint / mntdoc01.zoo / mintdoc / cat2 / dgetcwd.nr < prev    next >
Encoding:
Text File  |  1993-03-03  |  875 b   |  67 lines

  1.  
  2.  
  3.  
  4. Dgetcwd(2)                 Dec. 1, 1992                Dgetcwd(2)
  5.  
  6.  
  7. N✓NA✓AM✓ME✓E
  8.        Dgetcwd - get current working directory for a process
  9.  
  10.  
  11. S✓SY✓YN✓NO✓OP✓PS✓SI✓IS✓S
  12.        LONG Dgetcwd(char *path, WORD drv, WORD size);
  13.  
  14.  
  15. D✓DE✓ES✓SC✓CR✓RI✓IP✓PT✓TI✓IO✓ON✓N
  16.        _✓D_✓g_✓e_✓t_✓c_✓w_✓d may be used to retrieve the current working direc-
  17.        tory on the indicated drive for the current  process.  The
  18.        directory  is  copied  into the buffer pointed to by _✓p_✓a_✓t_✓h,
  19.        which is at least _✓s_✓i_✓z_✓e bytes long.
  20.  
  21.  
  22. R✓RE✓ET✓TU✓UR✓RN✓NS✓S
  23.        0 on success
  24.  
  25.        ERANGE if the supplied buffer is not long enough  to  hold
  26.        the path
  27.  
  28.        EDRIVE if _✓d_✓r_✓v is not a valid GEMDOS drive.
  29.  
  30.  
  31. S✓SE✓EE✓E A✓AL✓LS✓SO✓O
  32.        _✓D_✓g_✓e_✓t_✓p_✓a_✓t_✓h(2)
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64. Version 0.97         MiNT Programmer's Manual                   1
  65.  
  66.  
  67.